Ejemplo n.º 1
0
        /// <summary>   Gets list of projects. </summary>
        ///
        /// <remarks>   Gets the projects commissioned by the customer.
        ///             The <see cref="dao"/> returns a list which is converted to an <see cref="Array"/>. </remarks>
        ///
        /// <param name="customerId">   Identifier for the customer. </param>
        ///
        /// <returns>   An array of projects. </returns>

        public Project[] GetListOfProjects(int customerId)
        {
            return((dao.GetListOfProjects(customerId)).ToArray());
        }
 public Task[] GetListOFProjects(Guid customerId)
 {
     return((dao.GetListOfProjects(customerId)).ToArray());
 }