Search Results for

    Show / Hide Table of Contents

    Interface IGroupService

    Namespace: Simplic.Group
    Assembly: Simplic.Group.dll
    Syntax
    public interface IGroupService

    Methods

    | Improve this Doc View Source

    Delete(Int32)

    Deletes a group

    Declaration
    bool Delete(int id)
    Parameters
    Type Name Description
    System.Int32 id

    Ident to be deleted.

    Returns
    Type Description
    System.Boolean

    True if successfull

    | Improve this Doc View Source

    DeleteByGroupId(Int32)

    Deletes a group

    Declaration
    bool DeleteByGroupId(int groupId)
    Parameters
    Type Name Description
    System.Int32 groupId

    Group Id to be deleted.

    Returns
    Type Description
    System.Boolean

    True if successfull

    | Improve this Doc View Source

    GetAll()

    Gets a list of all groups

    Declaration
    IEnumerable<Group> GetAll()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Group>

    A list of Group

    | Improve this Doc View Source

    GetAllByUserId(Int32)

    Gets a list of all groups of a user

    Declaration
    IEnumerable<Group> GetAllByUserId(int userId)
    Parameters
    Type Name Description
    System.Int32 userId
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Group>

    A list of Group

    | Improve this Doc View Source

    GetAllSortedByName()

    Gets a list of all groups sorted by group name

    Declaration
    IEnumerable<Group> GetAllSortedByName()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Group>

    A list of Group

    | Improve this Doc View Source

    GetById(Int32)

    Gets a group given by its id

    Declaration
    Group GetById(int id)
    Parameters
    Type Name Description
    System.Int32 id

    Id of the group to search

    Returns
    Type Description
    Group

    A Group

    | Improve this Doc View Source

    GetUserIdsByGroupIdent(Int32)

    Gets a list of user ids of a group

    Declaration
    IEnumerable<int> GetUserIdsByGroupIdent(int groupIdent)
    Parameters
    Type Name Description
    System.Int32 groupIdent
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.Int32>
    | Improve this Doc View Source

    Save(Group)

    Inserts or updates a group into the database

    Declaration
    bool Save(Group group)
    Parameters
    Type Name Description
    Group group

    Group to be saved.

    Returns
    Type Description
    System.Boolean

    True if successfull

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx